package com.malie.myspringboot.easypoi;

import cn.afterturn.easypoi.excel.annotation.Excel;
import java.util.Date;
import lombok.Data;

@Data
public class ImportAndExportEntity {

    private Long id;
    @Excel(name = "姓名",orderNum = "1")
    private String name;
    @Excel(name = "创建时间",orderNum = "2",format = "yyyy-MM-dd")
    private Date createTime;
    @Excel(name = "状态",orderNum = "3",replace = {"老师_1,学生_2"})
    private String state;

}
